package com.djinfo.work.activiti.dao;


import com.djinfo.work.activiti.po.Permission;
import com.djinfo.work.activiti.po.Role_permission;

import java.util.List;

public interface PermissionDao {
	void addpermission(String permissionname);

	public List<Permission> getallPermission();

	public void delRole_permission(String pid);

	public void delpermission(Permission permission);

	public Permission getpermissionbypermissionname(String permissionname);

	public void addrole_permission(Role_permission role_permission);

	public Permission getpermissionbyid(String pid);

	public Role_permission getrolepermissionbyid(String pid);

	public void addpermi(Permission permission);
}
